home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Development Platforms / Apple II / Essentials / Technical.Notes / IIGS / TN.IIGS.095 < prev    next >
Encoding:
Text File  |  1990-09-21  |  3.5 KB  |  126 lines  |  [TEXT/pdos]

  1. Apple II
  2. Technical Notes
  3. _____________________________________________________________________________
  4.                                                   Developer Technical Support
  5.  
  6. Apple IIgs
  7. #95:    ROM Diagnostic Errors
  8.  
  9. Written by:    Dan Strnad    September 1990
  10.  
  11. This Technical Note describes errors returned by the ROM Diagnostics on Apple 
  12. IIgs systems.
  13. _____________________________________________________________________________
  14.  
  15.  
  16. The Built-In Diagnostics Revealed
  17.  
  18. The IIgs has a self-test capability in ROM.  The self-test is activated by 
  19. pressing Open-Apple and Option on power up, or Open-Apple, Option, and Reset.  
  20. During the test, the test number is visible on the bottom of the screen 
  21. followed by six zeros.  After all tests are complete, a continuous 6 KHz one-
  22. second beep sounds and the screen displays a System Good message.  If any test 
  23. fails, the screen displays a message of the form System Bad: AABBCCDD on the 
  24. lower left hand side and a staggered AABBCCDD on the upper left hand side to 
  25. help read the error code in the event of a RAM failure.  In the event of video 
  26. failure, the failure code is also sent to the printer port.  In the number 
  27. contained in the error message, AA is the test number that failed and the 
  28. failure code is embedded in the BB, CC, and DD fields.  The complete failure 
  29. codes for each of the 12 tests are as follows:
  30.  
  31. Self Test 1:  ROM Test
  32.  
  33. AA =    01
  34. BB =    Failed checksum
  35. DD =    01 if the test encountered bad RAM and the error code is a RAM error 
  36.         code similar to the RAM Test error codes
  37.  
  38.         For a failure in  ROM, the ROM diagnostics also display RM on the top 
  39.         left hand corner of the screen.
  40.  
  41. Self Test 2:  RAM Test
  42.  
  43. AA =    02
  44. BB =    Bank Number (or $FF for ADB Tool call error)
  45. CC =    Bit(s) failed
  46.  
  47. Self Test 3:  Soft Switches and State Register Test
  48.  
  49. AA =    03
  50. BB =    State Register bit (if any)
  51. CC =    Low byte of soft switch address
  52.  
  53. Self Test 4:  RAM Address Test
  54.  
  55. AA =    04
  56. BB =    Failed bank number (or $FF for ADB Tool call error)
  57. CCDD =  Failed address
  58.  
  59. Self Test 5:  Speed Test
  60.  
  61. AA =    05
  62. BB =    01:  Speed stuck slow
  63.         02:  Speed stuck fast
  64.  
  65. Self Test 6: Serial Test
  66.  
  67. AA =    06:
  68. BB =    01:  Register R/W
  69.         04:  Tx Buffer empty status
  70.         05:  Tx Buffer empty failure
  71.         06:  All Sent Status fail
  72.         07:  Rx Char available
  73.         08:  Bad data
  74.  
  75. Self Test 7:  Clock Test
  76.  
  77. AA =    07
  78. DD =    01:  Fatal error occurred and the test is aborted
  79.  
  80. Self Test 8:  Battery RAM Test
  81.  
  82. AA =    08
  83. BB =    01:  Address test and CC = bad address
  84.         02:  Non-volatile RAM failed and CC = pattern, DD = address
  85.  
  86. Self Test 9:  Apple Desktop Bus Test
  87.  
  88. AA =    09
  89. BBCC =  Bad checksum
  90. DD =    01:  Apple Desktop Bus tools call encountered a fatal error, no 
  91.              checksum  computed.
  92.  
  93. Self Test 10:  Shadow Register Test
  94.  
  95. AA =    0A
  96. BB =    01:  Text page 1 fail
  97.         02:  Text page 2 fail
  98.         03:  Apple Desktop Bus Tool call error
  99.         04:  Power On Clear bit error
  100.  
  101. Self Test 11: Interrupts Test
  102.  
  103. AA =    0B
  104. BB =    01:  VBL interrupt time-out
  105.         02:  VBL IRQ status fail
  106.         03:  1/4 sec interrupt
  107.         04:  1/4 sec interrupt
  108.         05:
  109.         06:  VGC IRQ
  110.         07:  Scan line
  111.  
  112. Self Test 12:  Sound Test
  113.  
  114. AA =    0C
  115. DD =    01:  RAM data error
  116.         02:  RAM address error
  117.         03:  Data register failed
  118.         04:  Control register failed
  119.         05:  Oscillator interrupt timeout
  120.  
  121.  
  122. Further Reference
  123. _____________________________________________________________________________
  124.   o  Apple IIgs Hardware Reference, Second Edition
  125.  
  126.